package pojo;

import java.util.Date;

/**
 * Event entity. @author MyEclipse Persistence Tools
 */

public class Event implements java.io.Serializable {

	// Fields

	private long eventId;
	private User user;
	private String eventDetail;
	private Date startTime;
	private Date endTime;

	// Constructors

	/** default constructor */
	public Event() {
	}

	/** full constructor */
	public Event(User user, String eventDetail, Date startTime, Date endTime) {
		this.user = user;
		this.eventDetail = eventDetail;
		this.startTime = startTime;
		this.endTime = endTime;
	}

	// Property accessors

	public long getEventId() {
		return this.eventId;
	}

	public void setEventId(long eventId) {
		this.eventId = eventId;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getEventDetail() {
		return this.eventDetail;
	}

	public void setEventDetail(String eventDetail) {
		this.eventDetail = eventDetail;
	}

	public Date getStartTime() {
		return this.startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return this.endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

}